PostSnippets\Edit D

Total Complexity 221
Dependencies 4
Dependents 4
Total lines 1,648
Lines of code 1,108
Logical lines of code 398
Comment lines 141
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
save_data()
D
27
36 131
getLocation()
B
39 18 72
actions_metabox_content()
A
39 11 79
options_metabox_content()
A
42 12 57
codeLocation()
A
50 11 29
pages_metabox_content()
A
45 9 48
editPage()
A
40 7 77
get_snippet_page()
A
55 10 19
change_group_count()
A
45 6 48
perform_actions_response()
S
51 7 28
addImportedSnippet()
S
48 6 32
groups_meta_box_content()
S
45 5 46
JS_location()
S
60 7 14
setup_code_editor()
S
50 6 28
prepare()
S
58 6 14
increment_snippet_title()
S
56 5 19
edit_snippets_meta_boxes()
S
50 4 32
isPageOrPost()
S
59 5 16
siteLocation()
S
62 5 11
generate_shortcode_text()
S
61 4 11
add_section_fields()
S
54 3 24
preview_metabox_content()
S
55 3 21
setup_sections()
S
46 1 50
get_data()
S
56 3 17
number_duplicate_snippet_title()
S
63 4 10
filter_snippet_title()
S
60 3 13
codeEditor()
S
52 1 38
is_CSS()
S
67 3 8
is_JS()
S
67 3 8
body_content_cb()
S
67 3 8
duplicate_title_check()
S
60 2 13
filter_snippet_vars()
S
62 2 12
snippetTitle()
S
60 1 17
change_edit_snippet_page_title()
S
66 2 8
description()
S
66 1 9
availablePageLocations()
S
66 1 9
availableSiteLocations()
S
72 1 6
getAllPagesAndPosts()
S
67 1 8
page_actions()
S
74 1 4
footer_scripts()
S
80 1 5
__construct()
S
67 1 9